package snooker.scoreboard;

public class Settings {

	private static Settings settings;

	private int maxReds;
	
	private Settings() {
		maxReds = 15;
	}
	
	public static Settings getInstance() {
		if (settings == null) {
			settings = new Settings();
		}
		return settings;
	}
	
	public int getMaxReds() {
		return maxReds;
	}
	
	public void setMaxReds(int maxReds) {
		this.maxReds = maxReds;
	}
}
